.shadow {
  box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
}

.side-menu {
  min-height: calc(100vh - 70px);
  overflow-y: auto;
  z-index: 10;
  background-color: $--side-bg-color;

  /deep/ .el-menu {
    background-color: $--menu-dark-bgc;
    border: none;
    &.el-menu--collapse {
      .el-menu-item {
        padding-left: 13px !important;
        &.is-active {
          &::before {
            width: 3px;
          }
        }
      }
    }
  }

  /deep/ .el-menu-item {
    height: $--menu-item-height;
    line-height: $--menu-item-height;
    color: $--menu-item-font-color;

    &:hover, &:focus, &.is-active {
      background-color: $--menu-item-active-bgc;
      color: $--menu-item-active-font-color;
    }

    a {
      color: inherit;
      text-decoration: none;
    }
  }

  &[theme='light'] {
    background-color: $--menu-background-color;
    border-right: $--border-base;
    /deep/ .el-menu {
      background-color: $--menu-background-color;
      border: none;
    }

    /deep/ .el-menu-item {
      color: $--color-text-primary;
      position: relative;

      &:hover, &:focus, &.is-active {
        background-color: $--color-primary-light-9;
        color: $--color-primary;
      }
      &.is-active {
        &::before {
          content: '';
          width: 5px;
          height: 100%;
          background-color: $--menu-item-active-bgc;
          border-radius: 0 5px 5px 0;
          position: absolute;
          left: 0;
          top: 0;
        }
      }
      a {
        color: inherit;
        text-decoration: none;
      }
    }
  }
  .menu-toggle-icon {
    width: 34px;
    height: 34px;
    background: #EDEDED;
    opacity: 1;
    border-radius: 6px 0px 0px 6px;
    text-align: center;
    line-height: 32px;
    color: $--color-primary;
    position: absolute;
    right: 0;
    bottom: 78px;
    cursor: pointer;
    user-select: none;
  }
}

.menu {
  padding: 16px 0;
}
